﻿using System;
using System.Collections.Generic;
using System.Text;

namespace LasRendering
{
    public class KdTreeNode
    {
        public Vertex Element;
        public float Location;
        public KdTreeNode LeftChild;
        public KdTreeNode RightChild;

        internal KdTreeNode(Vertex element, float location, KdTreeNode leftChild, KdTreeNode rightChild)
        {
            this.Element = element;
            this.Location = location;
            this.LeftChild = leftChild;
            this.RightChild = rightChild;
        }
    }
}
